import ExpendList from "./ExpendList.js";
import ContentController from "./ContentController.js";
import BannerController from "./BannerController.js";

// expendlists
const expendlists = document.getElementsByClassName("expendlist");
for (let i = 0; i < expendlists.length; i++) {
  expendlists[i].onclick = ExpendList(expendlists[i]);
}

// contents
const content = document.getElementById("content");
ContentController(content);

// banner
const banner = document.getElementById("banner");
BannerController(banner, 4000);